<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>OEM信息</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <meta http-equiv="Pragma"   content= "no-cache" /> 
    <meta http-equiv= "Cache-Control"   content= "no-cache" /> 
    <meta http-equiv= "Expires"   content= "0" />

    <link rel="stylesheet" href="/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/layui/style/admin.css" media="all" />

</head>

<body>
    <form class="layui-form" lay-filter="oem_config_form" action="">
        <input type="hidden" name="id" th:value="${oemConfigInfo.id}"/>
        <input type="hidden" name="oemId" th:value="${oemConfigInfo.oemId}"/>

        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
          <legend>阿里云参数设置</legend>
            <div class="layui-form-item " >
                <label class="layui-form-label">accessKeyId</label>
                <div class="layui-input-block">
                    <input type="text"  name="accessKeyId" th:value="${oemConfigInfo.accessKeyId}"    placeholder="accessKeyId" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item " >
                <label class="layui-form-label">accessKeySecret</label>
                <div class="layui-input-block">
                    <input type="text"  name="accessKeySecret" th:value="${oemConfigInfo.accessKeySecret}"    placeholder="accessKeySecret" autocomplete="off" class="layui-input">
                </div>
            </div>


            <div class="layui-form-item " >
                <label class="layui-form-label"> oss endpoint</label>
                <div class="layui-input-block">
                    <input type="text"  name="endPoint" th:value="${oemConfigInfo.endPoint}"    placeholder="endpoint" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item " >
                <label class="layui-form-label">oss bucket</label>
                <div class="layui-input-block">
                    <input type="text"  name="bucket" th:value="${oemConfigInfo.bucket}"    placeholder="endpoint" autocomplete="off" class="layui-input">
                </div>
            </div>

        </fieldset>
        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
            <legend>短信模版</legend>


            <div class="layui-form-item " >
                <label class="layui-form-label">签名</label>
                <div class="layui-input-block">
                    <input type="text"  name="signName" th:value="${oemConfigInfo.signName}"    placeholder="签名" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item " >
                <label class="layui-form-label">设备登录模板</label>
                <div class="layui-input-block">
                    <input type="text"  name="terloginCode" th:value="${oemConfigInfo.terloginCode}"    placeholder="设备登录模板" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item " >
                <label class="layui-form-label">用户登录模板</label>
                <div class="layui-input-block">
                    <input type="text"  name="userLoginCode" th:value="${oemConfigInfo.userLoginCode}"    placeholder="用户登录模板" autocomplete="off" class="layui-input">
                </div>
            </div>


            <div class="layui-form-item" >
                <label class="layui-form-label">信息变更模板</label>
                <div class="layui-input-block">
                    <input type="text"  name="userValidateCode" th:value="${oemConfigInfo.userValidateCode}"    placeholder="信息变更模板" autocomplete="off" class="layui-input">
                </div>
            </div>


            <div class="layui-form-item" >
                <label class="layui-form-label">密码修改模板</label>
                <div class="layui-input-block">
                    <input type="text"  name="passModifyCode" th:value="${oemConfigInfo.passModifyCode}"    placeholder="密码修改模板" autocomplete="off" class="layui-input">
                </div>
            </div>


            <div class="layui-form-item" >
                <label class="layui-form-label">密码重置模板</label>
                <div class="layui-input-block">
                    <input type="text"  name="passResetCode" th:value="${oemConfigInfo.passResetCode}"    placeholder="密码重置模板" autocomplete="off" class="layui-input">
                </div>
            </div>


        </fieldset>


        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
            <legend>语音服务设置</legend>

            <div class="layui-form-item " >
                <label class="layui-form-label">AppId</label>
                <div class="layui-input-block">
                    <input type="text"  name="voiceAppId" th:value="${oemConfigInfo.voiceAppId}"    placeholder="AppId" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item " >
                <label class="layui-form-label">AppKey</label>
                <div class="layui-input-block">
                    <input type="text"  name="voiceAppKey" th:value="${oemConfigInfo.voiceAppKey}"    placeholder="AppKey" autocomplete="off" class="layui-input">
                </div>
            </div>


            <div class="layui-form-item" >
                <label class="layui-form-label">SecretKey</label>
                <div class="layui-input-block">
                    <input type="text"  name="voiceSecretKey" th:value="${oemConfigInfo.voiceSecretKey}"    placeholder="SecretKey" autocomplete="off" class="layui-input">
                </div>
            </div>


        </fieldset>

        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
            <legend>接口设置</legend>
            <div class="layui-form-item" >
                <label class="layui-form-label">订单回调地址</label>
                <div class="layui-input-block">
                    <input type="text"  name="orderCallBackUrl" th:value="${oemConfigInfo.orderCallBackUrl}"     placeholder="订单回调地址" autocomplete="off" class="layui-input">
                </div>
            </div>
        </fieldset>

        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
            <legend>安全设置</legend>
            <div class="layui-form-item" >
                <label class="layui-form-label">faceKey(最多32位)</label>
                <div class="layui-input-block">
                    <input type="text"  name="faceKey" th:value="${oemConfigInfo.faceKey}"   maxlength="32"  placeholder="faceKey" autocomplete="off" class="layui-input">
                </div>
            </div>
        </fieldset>

        <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="" lay-filter="modify_ok">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>

    </div>
</form>

<script type="text/javascript" src="/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script type="text/javascript" src="/layui/layui.js"></script>
<script type="text/javascript" src="/js/oem/config.js"></script>

</body>
</html>